package com.wavehi.util;

/**
 * @Description
 * @Author WaveHi
 * @Date 24/12/2021 下午 5:05
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 */
public class SleepUtils {

    /**
     * 当前线程睡眠指定秒数
     * @param second 秒
     */
    public static void sleep(int second){
        try {
            Thread.sleep(1000*second);
        } catch (InterruptedException _ignored) {
            Thread.currentThread().interrupt();
        }
    }
}

